From: Marco Trevisan (TreviƱo) Date: Tue, 25 Nov 2025 21:40:00 +0000 (+0100) Subject: layout: Export STARTUP_ANIMATION_TIME X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~44^2~79 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=087b0fda5d64f7a74460ef4a0f923a1235aff50f;p=gnome-shell.git layout: Export STARTUP_ANIMATION_TIME We are using it in overviewControls but the value is not exported. This caused an issue when the animations are not enabled, since in a racy way (e.g. only sometimes, depending on the init speed) the value was undefined, and so we ended up falling back to the default animation duration time. Part-of: --- diff --git a/js/ui/layout.js b/js/ui/layout.js index a13ba6205..3e4f4b8f5 100644 --- a/js/ui/layout.js +++ b/js/ui/layout.js @@ -16,7 +16,7 @@ import * as Main from './main.js'; import * as Params from '../misc/params.js'; import * as Ripples from './ripples.js'; -const STARTUP_ANIMATION_TIME = 500; +export const STARTUP_ANIMATION_TIME = 500; const BACKGROUND_FADE_ANIMATION_TIME = 1000; const HOT_CORNER_PRESSURE_THRESHOLD = 100; // pixels